package com.yswy.app.service;

import com.alipay.api.response.AlipayTradePayResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yswy.common.wxOrder.V3.GenerateSignVo;
import com.yswy.common.wxOrder.V3.WxPayConfigV3;
import com.yswy.common.zfbOrder.ZfbKeyVo;
import com.yswy.domain.entity.AgreementOrder;
import com.yswy.domain.entity.PayOrderWxLog;
import com.yswy.domain.entity.PayOrderZfbLog;
import com.yswy.domain.entity.VipPrice;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mhy
 * @since 2020-02-18
 */
public interface PayOrderWxLogService extends IService<PayOrderWxLog> {

    PayOrderWxLog generateOrder(String orderid ,
                                GenerateSignVo generateSignVo ,
                                WxPayConfigV3 wxPayConfigV3,
                                String uid,
                                VipPrice vipPrice,
                                String ip);
    PayOrderWxLog generateOrder(String orderid ,
                                String generateSignVo ,
                                WxPayConfigV3 wxPayConfigV3,
                                String uid,
                                VipPrice vipPrice,
                                String ip);

    void callbackWXYwPayOrder(String orderid);
    String callbackWXPayOrder(HttpServletRequest request, HttpServletResponse response)throws Exception;
}
